﻿/*----------------------------------------------------------------
// Copyright (C) 2011 上海
// 版权所有。 
//
// 文件名：InstockGroupVM
// 文件功能描述：食材入库数据访问层
//
// 
// 创建标识：2012-01-14 王冲
//
// 修改标识：
// 修改描述：
//
//
//----------------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace WaiGaoQiaoWeb.Models
{
    public class InstockGroupVM
    {
        public InstockGroupVM()
        {
            _GoodsType = "2";
        }
      
        [Display(Name = "自增ID")] 
        public int? ID
        {
            get;
            set;
        }
        [Display(Name = "订单编号")]
        [Required(ErrorMessage = "订单编号不能为空")]
        public string Ord_No
        {
            get;
            set;
        }

        [Display(Name = "供应商")]
        public int? Supplier_ID
        {
            get;
            set;
        }
        
        [Display(Name = "操作员ID")]         
        public string Operator_ID
        {
            get;
            set;
        }
        protected string _GoodsType;
        [Display(Name = "食材类型")]       
        public string GoodsType
        {
            get
            {
                return _GoodsType;
            }
            set
            {
                _GoodsType = value;
            }
        }
        
        [Display(Name = "备注")]      
        public string Remark
        {
            get;
            set;
        }        
        [Display(Name = "录入时间")]
        public DateTime RecordDateTime
        {
            get;
            set;
        }
    }
}